package com.gxa.community.core.pojo.dto.login;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import nonapi.io.github.classgraph.json.Id;

import java.io.Serializable;

/**
 * @author juran
 * @since 2022-07-19
 */
@Data
@ApiModel(value = "UserInfo对象", description = "用户/团长信息表")
public class UserInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    @ApiModelProperty("自增ID")
    @TableId(type = IdType.AUTO)
    private Integer userId;

    @ApiModelProperty("注册时间/时间戳")
    private Long createTime;

    @ApiModelProperty("昵称")
    private String nickName;

    @ApiModelProperty("身份证号")
    private String cardId;

    @ApiModelProperty("手机号")
    private String phone;

    @ApiModelProperty("性别/1-男/0-女")
    private Integer sex;

    @ApiModelProperty("地址")
    private String address;

    @ApiModelProperty("用户类型/1-用户/2-团长")
    private Integer type;

    @ApiModelProperty("状态")
    private Integer status;

}
